package cn.itsource.crm.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 合同管理
 */
@Data
public class Contract extends BaseDomain{
    //合同单号
    private String sn;
    //签订时间
    private Date signTime;
    //合同客户 customer
    private Customer customer;
    //营销人员 seller
    private Employee seller;
    //合同金额
    private BigDecimal sum;
    //合同摘要
    private String intro;
    //所属租户
    private Long tenant;
    //付款详情 双向关联
    private List<ContractPaymentDetails> details = new ArrayList<>();
    //关联订单，需要把部分订单的信息插入合同里面
    private DepositOrder depositOrder;


}
